# RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION

require File.join(File.dirname(__FILE__), 'boot')



def get_api_keys
  YAML::load(File.open("#{RAILS_ROOT}/config/api_keys.yml"))
end


Rails::Initializer.run do |config|
  config.action_controller.session = { :session_key => "_tvienes_session", :secret => "compadrecompremeuncoco_quequienpococococompra_pococococome" }
  config.active_record.observers = :user_observer
  
end

RESERVED_WORDS = %W{ tvienes ayuda help users new signup }
API_KEYS = get_api_keys[RAILS_ENV]
